<!DOCTYPE html>
<meta charset="UTF-8">

<fieldset style="float:left;">
	<legend>简单数组参数名</legend>
	<form action="test/books" method="post">
		<input name="bookTitles" type="checkbox" value="黑客与画家"/>黑客与画家<br/>
		<input name="bookTitles" type="checkbox" value="浪潮之巅"/>浪潮之巅<br/>
		<input name="bookTitles" type="checkbox" value="认识商业"/>认识商业<br/>
		<input name="bookTitles" type="checkbox" value="简单逻辑学"/>简单逻辑学<br/>
		<button type="submit" >提交</button>
	</form>
</fieldset>

<fieldset style="float:left;">
	<legend>带有"[]"的数组参数名</legend>
	<form action="test/books" method="post">
		<input name="bookTitles[]" type="checkbox" value="黑客与画家"/>黑客与画家<br/>
		<input name="bookTitles[]" type="checkbox" value="浪潮之巅"/>浪潮之巅<br/>
		<input name="bookTitles[]" type="checkbox" value="认识商业"/>认识商业<br/>
		<input name="bookTitles[]" type="checkbox" value="简单逻辑学"/>简单逻辑学<br/>
		<button type="submit" >提交</button>
	</form>
</fieldset>